﻿.slotMachine-box {
    min-height: calc(100% - 341px);
    width: 848px;
    margin: 0 auto;
    padding-top: 40px;
}

.slotMachine {
    background: url(https://app.cngal.org/_content/CnGalWebSite.Shared/images/raffleBg.png) no-repeat;
    width: 692px;
    height: 313px;
    position: relative;
    margin-top: 50px;
}

@media (min-height: 1000px) {
    .slotMachine {
        margin-top: 100px;
    }
}

.slotMachine-btn {
    position: absolute;
    right: -156px;
    top: calc(50% - 66px);
}

.slot {
    width: 106px;
    height: 163px;
    overflow: hidden;
    position: absolute;
    background-color: rgba(250,249,250,1);
    top: 103px;
    border: 1px solid rgba(253,138,197,1);
}

    .slot li {
        display: block;
        width: 106px;
        height: 163px;
        font-size: 72px;
        text-align: center;
        line-height: 163px;
    }

.slot1 {
    left: 185px;
}

.slot2 {
    left: 305px;
}

.slot3 {
    left: 425px;
}

.slot4 {
    left: 545px;
}

.slotAnimation {
    animation: slotSlice 1s linear 0s 1;
}

@keyframes slotSlice {
    0% {
        transform: translateY(0px)
    }

    100% {
        transform: translateY(-4890px)
    }
}

div.prizeTips {
    padding: 1em 0 0;
    text-align: center;
    font-size: 18px;
}

    div.prizeTips > span {
        font-weight: bold;
        color: rgba(253,138,197,1);
        padding: 0 0.5em;
    }

.slotMachine-box ul {
    padding: 0;
}
/*主页*/

.lottery-home-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .lottery-home-page > .md-card, .lottery-home-page > .m-alert {
        max-width: 700px;
        width: 100%;
        flex-direction: row;
    }

    .lottery-home-page .head-card {
        display: flex;
        padding: 1rem;
        flex-direction: column;
        width: 60%;
        justify-content: space-between;
        gap: 1rem;
    }

    .lottery-home-page .image-link-card {
        display: flex;
        width: 40%;
    }

    .lottery-home-page .image-card {
        width: 100%;
        aspect-ratio: 600 / 900;
        height: fit-content;
    }

    .lottery-home-page .head-card .title-card {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 1rem;
    }

    .lottery-home-page .head-card .info-card {
        display: flex;
        flex-direction: column;
        font-weight: bold;
        font-size: small;
    }

            .lottery-home-page .head-card .info-card div {
                display: flex;
            }

    .lottery-home-page .content-card {
   
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
    }

        .lottery-home-page .content-card a {
            width: 200px;
            max-width: 100%;
        }
        .lottery-home-page .content-card  .condition-card {
            font-weight: bold;
            font-size: small;
        }
        .lottery-home-page .title-card .text-card {
            white-space: pre-wrap;
        }
